import request from '@/utils/request'

export function insert (data) {
  return request({
    url: '/api/server/sanqinPerHenlthMagazine/insert',
    method: 'post',
    data
  })
}

export function update (data) {
  return request({
    url: '/api/server/sanqinPerHenlthMagazine/update',
    method: 'post',
    data
  })
}

export function queryByPage (data) {
  return request({
    url: '/api/server/sanqinPerHenlthMagazine/queryByPage',
    method: 'post',
    data
  })
}

export function deleteById (data) {
  return request({
    url: '/api/server/sanqinPerHenlthMagazine/deleteById?uid=' + data,
    method: 'get'
  })
}
export function queryFileInf (data) {
  return request({
    url: '/api/server/fileInfo/queryByPage',
    method: 'post',
    data
  })
}